package com.yike.order.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 订单详情表
 *
 * @author yike
 * @since 2024-07-17
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "订单详情信息")
public class OrderDetailVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("订单ID")
    private Long orderId;

    @ApiModelProperty("商品ID")
    private Long goodsId;

    @ApiModelProperty("条码")
    private String barcode;

    @ApiModelProperty("商品图片")
    private String image;

    @ApiModelProperty("商品名称")
    private String goodsName;

    @ApiModelProperty("进货单价")
    private BigDecimal buyPrice;

    @ApiModelProperty("销售单价")
    private BigDecimal sellPrice;

    @ApiModelProperty("购买数量")
    private Integer number;

    @ApiModelProperty("分类id")
    private Long categoryId;

    @ApiModelProperty("分类名称")
    private String categoryName;

    @ApiModelProperty("商品规格")
    private String specification;

}
